package com.shuziren.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.Pattern;
import lombok.Data;

import java.lang.annotation.Target;
import java.util.Date;

@Data
@TableName("interview_candidates")
public class CandidateEntity  {

    @TableId( type = IdType.AUTO)
    private Integer id;
    /**
     * 候选人姓名
     */
    private String name;

    /**
     * 候选人性别
     */
    private Integer gender;
    /**
     * 电子邮箱
     */

    private String email;
    /**
     * 联系电话
     */
    private String phone;
    /**
     * 应聘职位
     */
    private String position;
    /**
     * 工作经验
     */
    private Integer experience;
    /**
     * 毕业院校
     */
    private String graduateSchool;
    /**
     * 技能标签 逗号分隔
     */
    private String skills;
    /**
     * 上传简历存储路径
     */
    private String resumePath;
    /**
     * 备注信息
     */
    private String notes;
    /**
     * 面试结果
     * @return
     */
    private Integer interviewResult;

    /**
     * 面试状态
     * @return
     */
    private Integer interviewStatus;


    private Date createAt;

    private Date updateAt;

}
